package com.ntschy.bt.entity.mapstruct;

import com.ntschy.bt.entity.dataobject.BtHelp.BtHelp;
import com.ntschy.bt.entity.dto.BtHelpDTO.ReplyDTO.BtHelpReplyDTO;
import com.ntschy.bt.entity.dto.BtHelpDTO.ReplyDTO.BtHelpReplyPageDTO;
import com.ntschy.bt.entity.dto.BtHelpDTO.ReviewDTO.BtHelpReviewPageDTO;
import com.ntschy.bt.entity.vo.BtHelp.Assign.BtHelpAssignDetailsVO;
import com.ntschy.bt.entity.vo.BtHelp.Reply.BtHelpReplyDetialsVO;
import com.ntschy.bt.entity.vo.BtHelp.Reply.BtHelpReplyPageVO;
import com.ntschy.bt.entity.vo.BtHelp.Review.BtHelpReviewPageVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface BtHelpReplyMapstruct {

    BtHelpReplyMapstruct BT_HELP_Reply_MAP_STRUCT = Mappers.getMapper(BtHelpReplyMapstruct.class);


    /**
     * 分页查询类转换
     *
     * @param pageDTO 分页查询条件
     * @return BtHelp
     */
    BtHelp pagetableDto(BtHelpReplyPageDTO pageDTO);


    /**
     * 响应分页的数据类型
     *
     * @param btHelpList
     * @return List<BtHelpReplyPageVO>
     */
    List<BtHelpReplyPageVO> pagePustrespone(List<BtHelp> btHelpList);

    /**
     * bthelp  转  BtHelpReplyDetialsVO
     *
     * @param btHelp
     * @return
     */
    BtHelpReplyDetialsVO bthelpCHANGEreplydetialsvo(BtHelp btHelp);

    /**
     * btHelpReplyDTO  转  BtHelp
     *
     * @param btHelpReplyDTO
     * @return
     */
    BtHelp bthelpreplydtoCHANGEbthelp(BtHelpReplyDTO btHelpReplyDTO);


}
